package com.guagua.vas.constants;

import com.guagua.base.BaduGlobals;

public class CacheConstants {
	
	//Hazelcast
	public static final String  HAZELCAST_IP_PORT   = BaduGlobals.getBaduProperty("hazelcast-ip:port"); //缓存服务器ip+端口
	
	public static final String  HAZELCAST_USER   = BaduGlobals.getBaduProperty("hazelcast-user"); //缓存服务器登录账户
	
	public static final String  HAZELCAST_PASS   = BaduGlobals.getBaduProperty("hazelcast-pass");  //缓存服务器登录密码
	
    public static final Integer RE_ROOM_UT_KEY = 1; //推荐房间缓存MAP-VALUE-KEY
	
	public static final String  RE_ROOM_UT_MAP = "reRoomUtMap";   //推荐房间缓存MAP-KEY
	
	public static final String  USER_FAVROOM_UT_MAP = "userRoomUtMap"; //用户房间缓存MAP-KEY
	
	//XmemCached
	public static final String  XMEMCACHED_IP_PORT   = BaduGlobals.getBaduProperty("xmemCached-ip:port"); //缓存服务器ip+端口
	
	public static final String  RE_ROOM_UT = "rru";  //推荐房间时间戳key
	
	public static final String  UERR_FAV_ROOM_UT = "ufru"; //用户收藏房间时间戳key(UERR_FAVROOM_UPT+userid)
	
	public static final String  UERR_FAV_ROOM_LIST = "ufrl"; //用户收藏房间列表key(UERR_FAVROOM_USER_LIST+userid)
	
	public static final String  RE_ROOM_TYPE_LIST = "rrtl"; //推荐房间类型列表Key(RE_ROOM_TYPE)
	
	public static final String  RE_ROOM_INFO_LIST_BY_TYPEID = "rrilbt"; //推荐房间列表Key(RE_ROOM_TYPE_LISaoT+reroomtypeid)
	
	//Redis
	public static final String  REDIS_IP_PORT   = BaduGlobals.getLocalProperty("redis_ip_port");; //缓存服务器ip+端口
	
	public static final String  ROOM_VERSION  = "guagua_room_"; //房间版本 
	
	public static final String  ROOM_NAME = "name"; //房间名KEY
	
	public static final String  ROOM_STATE = "state"; //房间属性状态(是否关闭)KEY
	
	public static final String  ROOM_MASTER = "master"; //室主KEY
	
	public static final String  ROOM_ISP_TYPE = "isp_type";    // (0电信1网通2双线)KEY
	
	public static final String  ROOM_USER_COUNT = "user_count";  //房间在线人数KEY
	
	public static final String  ROOM_MAX_USER ="max_user";   //房间人数上限KEY
	
	public static final String  ROOM_VIDEO_COUNT = "video_count"; //视频数KEY
	
	public static final String  ROOM_ONLINE_WEEK = "online_week"; //周人气
	
	public static final String  ACTIVE_TAG = "active_root_tag"; //活动标签
	
	public static final String SUPER_ADMIN ="guagua_supadmin";//分区
	
	//memcache
	public static final String  MEMCACHED_IP  = BaduGlobals.getLocalProperty("memcacheIP"); //缓存ip地址
	public static final String  MEMCACHED_PORT  = BaduGlobals.getLocalProperty("memcachePort");//缓存port端口
}
